package com.hoshiicloud.market.service.market;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hoshiicloud.market.entity.market.Marketing;
import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;

/**
 * <p>
 * 营销活动 服务类
 * </p>
 *
 * @author campchen
 * @since 2019-05-14
 */
public interface MarketingService extends IService<Marketing> {

    Marketing getById(Long id);

    boolean save(Marketing entity);

    boolean updateById(Marketing entity);

    IPage<Marketing> page(IPage<Marketing> page, Wrapper<Marketing> queryWrapper);

    boolean deleteById(Marketing entity);
}
